// DlgBarTool.cpp : implementation file
//

#include "stdafx.h"
#include "HS-PCI-Monitor.h"
#include "DlgBarTool.h"

// CDlgBarTool dialog

IMPLEMENT_DYNAMIC(CDlgBarTool, CDialogBar)

CDlgBarTool::CDlgBarTool(CWnd* pParent /*=NULL*/)
	: CDialogBar(/*CDlgBarTool::IDD, pParent*/)
{

}

CDlgBarTool::~CDlgBarTool()
{
}

void CDlgBarTool::DoDataExchange(CDataExchange* pDX)
{
	CDialogBar::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_COMBO1, m_ctlShift);
}


BEGIN_MESSAGE_MAP(CDlgBarTool, CDialogBar)
//	ON_CBN_SELCHANGE(IDC_COMBO1, &CDlgBarTool::OnCbnSelchangeCombo1)
END_MESSAGE_MAP()


// CDlgBarTool message handlers
BOOL CDlgBarTool::Create( CWnd* pParentWnd, UINT nIDTemplate, UINT nStyle, UINT nID, BOOL bChange)
{
	if( !CDialogBar::Create( pParentWnd, nIDTemplate, nStyle, nID) ){
		return FALSE;
	}

	CRect rc;
	pParentWnd->GetClientRect( &rc );

	return TRUE;
}

BOOL CDlgBarTool::Create( CWnd* pParentWnd , LPCTSTR lpszTemplateName , UINT nStyle , UINT nID , BOOL bChange )
{
	if ( !CDialogBar::Create(pParentWnd, lpszTemplateName, nStyle, nID)){
		return FALSE;
	}

	CRect rc;
	pParentWnd->GetClientRect( &rc );

	return TRUE;
}

//void CDlgBarTool::OnCbnSelchangeCombo1()
//{
//	// TODO: Add your control notification handler code here
//	g_nShiftIndex = m_ctlShift.GetCurSel();
//}
